HipTextureRegion.cropSpritesheet

By passing the width and height values, you'll be able to crop useless frames Default spritesheet method that makes a spritesheet from the entire texture

class HipTextureRegion
static
Array2D!IHipTextureRegion
cropSpritesheet
(
IHipTexture t
,,,
uint width = 0
,
uint height = 0
,
uint offsetX = 0
,
uint offsetY = 0
,
uint offsetXPerFrame = 0
,
uint offsetYPerFrame = 0
)

Meta